package com.zspringboot.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zspringboot.demo.controller.dto.UserDTO;
import com.zspringboot.demo.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laolang
 * @since 2024-02-18
 */
public interface IUserService extends IService<User> {

    UserDTO login(UserDTO user);

    User register(UserDTO userDTO);

    Integer resetPassword(Integer id);
}
